package org.huntaway.kernel;

import java.util.Date;


public interface TimesTools {
	/**
	 * @param str
	 * @param dateStyle
	 * @return
	 * @throws RadException
	 */
	public Date str2Time(String str, String dateStyle) throws NutException;

	/**
	 * @param date
	 * @param dateStyle
	 * @return
	 * @throws RadException
	 */
	public String Time2Str(Date date, String dateStyle) ;

	/**
	 * @param dateStyle
	 * @return
	 */
	public String nowDate(String dateStyle) ;

	public String getDate(long times);
}
